#ifndef SINGLEMULTICHAT_H
#define SINGLEMULTICHAT_H

#include <QMainWindow>
#include <QString>
#include <QTimer>
#include "chatclient.h"

namespace Ui {
class SingleMultiChat;
}

class SingleMultiChat : public QMainWindow
{
    Q_OBJECT

public:
    explicit SingleMultiChat(QWidget *parent = 0, QString multi_ip = "0");
    ~SingleMultiChat();


private:
    Ui::SingleMultiChat *ui;
    QTimer *timer;
public :
    QString multi_ip_addr_;
    ChatClient &chat_client;
private slots:
    void on_send_clicked();
    void showSync();
};

#endif // SINGLEMULTICHAT_H
